package org.anlu.tianjin.oms.service;



import org.anlu.tianjin.oms.entity.Order;
import org.anlu.tianjin.to.OrderStatusEnume;

import java.util.List;

public interface OrderAndPayService {
    List<MemberReceiveAddress> getUserRecieveAddress(String token);

    String geiwoTradeToken();

    OrderResponseVo createOrder(OrderSubmitVo orderSubmitVo);

    String payMyOrder(String out_trade_no, String total_amount, String subject, String body);

    void updateOrderStatus(String out_trade_no, OrderStatusEnume finished);

    Order getOrderByOrderSn(String orderSn);
}
